<?php

class Topic extends AppModel {

	var $name = 'Topic';
//	var $hasOne = array();
	var $hasMany = array('Comment');
	var $belongsTo = array('Forum');
//	var $hasAndBelongsToMany = array();

//	function beforeSave($data) {}

//	function afterSave() {}

	function touch($id) {
		$this->id = $id;
		$this->saveField('modified', date('Y-m-d H:i:s'));
	}

}

?>